package com.wu.ssm.study.proxy;

/**
 * Created by wzf on 2018/11/24/024.
 */
public class CglibProxyTest {

    public static void main(String[] args) {

        LiuDeHua liudehua = new LiuDeHua();
        CglibProxy cglibProxy = new CglibProxy();
        LiuDeHua liuDeHuaProxy = (LiuDeHua) cglibProxy.getInstance(liudehua);

        liuDeHuaProxy.dance("n");
    }
}
